package com.sdy.healthcode.biz.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@ApiModel(value = "科室预约信息")
public class ExpertsAppointmentDTO {
    @ApiModelProperty(value = "预约ID")
    private Integer id;
    
    @ApiModelProperty(value = "部门")
    private String dept;
    
    @ApiModelProperty(value = "预约日期")
    @JsonFormat(pattern = DateUtil.DATE_FORMAT)
    private Date appointmentDate;
    
    @ApiModelProperty(value = "上下午")
    private String dayStr;
    
    @ApiModelProperty(value = "预约时间")
    private String visitTime;
    
    @ApiModelProperty(value = "医生")
    private String doctorName;

    @ApiModelProperty(value = "就诊人")
    private String userName;

    @ApiModelProperty(value = "提交时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date createTime;

    @ApiModelProperty(value = "状态 1-有效 2-已取消 3-已过期")
    private Integer state;

    @ApiModelProperty(value = "是否本人")
    private Boolean self;
}
